package com.dragon.modules.yuegou.excel.product;

import com.dragon.modules.media.annotations.ExcelSheet;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.time.LocalDateTime;
import java.util.List;
@com.dragon.modules.media.annotations.ExcelWorkbook(template = "classpath:\\excel\\product\\exportCoupProduct.xlsx")
public class ReceivedProCouponWorkbook {
	@ExcelSheet
	@JsonProperty("领取记录")
	private List<CouponRow> coupon;

	public static class CouponRow {

		/** 券名称 */
		@JsonProperty("券名称")
		private String name;

		/** 券类型*/
		@JsonProperty("券类型")
		private String typeName;

		/** 绑定手机号*/
		@JsonProperty("绑定手机号")
		private String mobile;

		/** 领取时间 */
		@JsonProperty("领取时间")
		private LocalDateTime receiveTime;

		/** 使用时间 */
		@JsonProperty("使用时间")
		private LocalDateTime useTime;

		/** 发券商户 */
		@JsonProperty("发券商户")
		private String merchantName;

		/**
		 * 状态
		 */
		@JsonProperty("状态")
		private String status;

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public String getTypeName() {
			return typeName;
		}

		public void setTypeName(String typeName) {
			this.typeName = typeName;
		}

		public String getMobile() {
			return mobile;
		}

		public void setMobile(String mobile) {
			this.mobile = mobile;
		}

		public LocalDateTime getReceiveTime() {
			return receiveTime;
		}

		public void setReceiveTime(LocalDateTime receiveTime) {
			this.receiveTime = receiveTime;
		}

		public LocalDateTime getUseTime() {
			return useTime;
		}

		public void setUseTime(LocalDateTime useTime) {
			this.useTime = useTime;
		}

		public String getMerchantName() {
			return merchantName;
		}

		public void setMerchantName(String merchantName) {
			this.merchantName = merchantName;
		}

		public String getStatus() {
			return status;
		}

		public void setStatus(String status) {
			this.status = status;
		}
	}

	public List<CouponRow> getCoupon() {
		return coupon;
	}

	public void setCoupon(List<CouponRow> coupon) {
		this.coupon = coupon;
	}

}
